//Queue that holds list of sites that need to be visited

#ifndef LINKEDLIST_H
#define LINKEDLIST_H

#include "URL.h"
#include "LinkedList.h"
#include<assert.h>

class URLQueue{

      private:

            LinkedList<URL> queue;	//Data structure
            bool contains(URL &addr);

      public:

            URLQueue();
            ~URLQueue();
            void push(URL &addr);
            //Add site to back of the list
            URL* pop();
            //Remove front site
            bool isEmpty();
            //Returns true is no sites in the queue, returns false otherwise
            int size();
}; 

#endif
